Repository class
- Annotations
-
- @freezed
Constructors
- Repository({@JsonKey.new(name: 'created_at') required DateTime createdAt, @JsonKey.new(name: 'default_branch') required String defaultBranch, @JsonKey.new(name: 'fork_count') required int forkCount, @JsonKey.new(name: 'description') String? description, @JsonKey.new(name: 'full_name') required String fullName, @JsonKey.new(name: 'is_private') required bool isPrivate, @JsonKey.new(name: 'star_count') required int starCount, @JsonKey.new(name: 'watch_count') required int watchCount, required String id, required String name, required String provider})
-
constfactory
-
Repository.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ $RepositoryCopyWith<
Repository> -
no setterinherited
- createdAt → DateTime
-
no setterinherited
- defaultBranch → String
-
no setterinherited
- description → String?
-
no setterinherited
- forkCount → int
-
no setterinherited
- fullName → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setterinherited
- isPrivate → bool
-
no setterinherited
- name → String
-
no setterinherited
- provider → String
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- starCount → int
-
no setterinherited
- watchCount → int
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited