TournamentResults class
Response example:
[
{
"tour": "1",
"mask": [
"1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0"
]
},
{
"tour": "2",
"mask": [
"0", "0", "0", "0", "0", "0", "1", "0", "0", "0", "0", "0"
]
},
{
"tour": "3",
"mask": [
"1", "1", "0", "0", "1", "1", "0", "0", "1", "1", "1", "1"
]
},
{
"tour": "4",
"mask": [
"0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1"
]
}
]
- Annotations
-
- @immutable
Constructors
-
TournamentResults({String? tour, List<
String> ? mask}) -
const
- TournamentResults.fromJson(String str)
-
Decodes TournamentResults object from json string
factory
-
TournamentResults.fromMap(Map<
String, dynamic> json) -
Decodes TournamentResults object from json map
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Encodes TournamentResults object to json string
-
toMap(
) → Map< String, dynamic> - Encodes TournamentResults object to json map
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override