Type class

Tournament type data model

{
  "id": 3,
  "name": "Синхрон"
}

Constructors

Type({required int id, required String name})
Type.fromJson(Map<String, dynamic> json)
factory
Type.fromRawJson(String str)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
id int
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({required int id, required String name}) Type
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