TournamentResults class Null safety

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

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

hashCode int
The hash code for this object.
read-only, override
mask List<String>?
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tour String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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