GithubDeveloperItem class
The model class for a trending developer.
Constructors
- GithubDeveloperItem({required String avatar, required String name, required String username, required String popularRepoName, required String popularRepoDescription})
- Create an instance for a trending developer.
-
GithubDeveloperItem.fromJson(Map<
String, dynamic> json) -
The package offers a JSON utility for all model classes.
factory
- GithubDeveloperItem.fromRawJson(String source)
-
The package offers a JSON utility for all model classes.
factory
Properties
- avatar → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
- popularRepoDescription → String
-
final
- popularRepoName → String
-
final
-
props
→ List<
Object?> -
This is for equatable integration.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - username → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - The package offers a JSON utility for all model classes.
-
toRawJson(
) → String - The package offers a JSON utility for all model classes.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited