TournamentControversial class
Response example:
[
{
"question_number": "6",
"answer": "Росвелл",
"issued_at": "2017-07-19 17:28:11",
"status": "A",
"comment": null,
"resolved_at": "2017-07-25 09:52:04",
"appeal_jury_comment": "Комментарий"
},
{
"question_number": "33",
"answer": "теплое течение",
"issued_at": "2017-07-19 17:28:11",
"status": "D",
"comment": null,
"resolved_at": "2017-07-25 09:57:30",
"appeal_jury_comment": "Комментарий"
}
]
- Annotations
-
- @immutable
Constructors
- TournamentControversial({String? questionNumber, String? answer, DateTime? issuedAt, QuestionStatus? status, String? comment, DateTime? resolvedAt, String? appealJuryComment})
-
const
- TournamentControversial.fromJson(String str)
-
Decodes TournamentControversial object from json string
factory
-
TournamentControversial.fromMap(Map<
String, dynamic> json) -
Decodes TournamentControversial object from json map
factory
Properties
- answer → String?
-
final
- appealJuryComment → String?
-
final
- comment → String?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- issuedAt → DateTime?
-
final
- questionNumber → String?
-
final
- resolvedAt → DateTime?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → QuestionStatus?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Encodes TournamentControversial object to json string
-
toMap(
) → Map< String, dynamic> - Encodes TournamentControversial object to json map
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override