SubscriptionDetailsData.fromJson constructor
SubscriptionDetailsData.fromJson(
- Object? json
Implementation
factory SubscriptionDetailsData.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return SubscriptionDetailsData(
metadata: map['metadata'] == null
? null
: (map['metadata'] as Map).cast<String, Object?>().map((
key,
value,
) =>
MapEntry(
key,
(value as String),
)));
}