GithubUserItem class

The contributor or owner for a trending repository.

Constructors

GithubUserItem({required String name, required String avatar})
Create an instance of a contributor or owner for a trending repository.
GithubUserItem.fromJson(Map<String, dynamic> json)
The package offers a JSON utility for all model classes.
factory
GithubUserItem.fromRawJson(String rawJson)
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
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

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