Repository class

Annotations
  • @freezed

Constructors

Repository({@JsonKey(name: 'created_at') required DateTime createdAt, @JsonKey(name: 'default_branch') required String defaultBranch, @JsonKey(name: 'fork_count') required int forkCount, @JsonKey(name: 'description') String? description, @JsonKey(name: 'full_name') required String fullName, @JsonKey(name: 'is_private') required bool isPrivate, @JsonKey(name: 'star_count') required int starCount, @JsonKey(name: 'watch_count') required int watchCount, required String id, required String name, required String provider})
const
factory
Repository.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited