mirror of
https://github.com/git-touch/git-touch
synced 2024-12-24 23:01:18 +01:00
22 lines
439 B
Dart
22 lines
439 B
Dart
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);
|
|
}
|