mirror of
https://github.com/git-touch/git-touch
synced 2024-12-16 10:20:55 +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);
|
||
|
}
|