1
0
mirror of https://github.com/git-touch/git-touch synced 2024-12-16 10:20:55 +01:00
git-touch-android-ios-app/lib/models/github_trending.dart

22 lines
439 B
Dart
Raw Normal View History

2019-12-07 07:42:33 +01:00
import 'package:json_annotation/json_annotation.dart';
part 'github_trending.g.dart';
@JsonSerializable()
class GithubTrendingItem {
String author;
String name;
String avatar;
String description;
String language;
String languageColor;
int stars;
int forks;
int currentPeriodStars;
GithubTrendingItem();
factory GithubTrendingItem.fromJson(Map<String, dynamic> json) =>
_$GithubTrendingItemFromJson(json);
}