Player class
Player response example:
{
"id": 27822,
"name": "Михаил",
"patronymic": "Владимирович",
"surname": "Савченков"
}
Constructors
- Player({required int id, required String name, required String? patronymic, required String surname})
-
Player.fromJson(Map<
String, dynamic> json) -
factory
- Player.fromRawJson(String str)
-
factory
Properties
Methods
-
copyWith(
{required int id, required String name, required String? patronymic, required String surname}) → Player -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toRawJson(
) → String -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
decodeList(
List list) → Iterable< Player>