Skip to content

Instantly share code, notes, and snippets.

@bapspatil
Created March 16, 2019 07:41
Show Gist options
  • Save bapspatil/352cdc6cae4591a0f15040c94422672e to your computer and use it in GitHub Desktop.
Save bapspatil/352cdc6cae4591a0f15040c94422672e to your computer and use it in GitHub Desktop.
The quote data class for the Kut In app.
class Quote {
final String quote;
final String id;
Quote.fromJson(Map<String, dynamic> json)
: quote = json['quote'],
id = json['id'];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment