Casualty class

Annotations
  • @JsonSerializable()

Constructors

Casualty({int? age, String? class_, String? severity, String? mode, String? ageBand})
Casualty.fromJson(Map<String, dynamic> json)
factory

Properties

age int?
getter/setter pair
ageBand String?
getter/setter pair
class_ String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mode String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
severity String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

listFromJson(List json) List<Casualty>
mapFromJson(Map<String, dynamic> json) Map<String, Casualty>