IssuingPhysicalBundle.fromJson constructor
IssuingPhysicalBundle.fromJson(
- Object? json
Implementation
factory IssuingPhysicalBundle.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return IssuingPhysicalBundle(
features: map['features'] == null
? null
: IssuingPhysicalBundleFeatures.fromJson(map['features']),
id: (map['id'] as String),
livemode: (map['livemode'] as bool),
name: (map['name'] as String),
status: IssuingPhysicalBundleStatus.fromJson(map['status']),
type: IssuingPhysicalBundleType.fromJson(map['type']),
);
}