listFromJson static method
Implementation
static List<Spare> listFromJson(dynamic json, {bool emptyIsNull, bool growable,}) =>
json is List && json.isNotEmpty
? json.map(Spare.fromJson).toList(growable: true == growable)
: true == emptyIsNull ? null : <Spare>[];