TreasurySharedResourceBillingDetails.fromJson constructor

TreasurySharedResourceBillingDetails.fromJson(
  1. Object? json
)

Implementation

factory TreasurySharedResourceBillingDetails.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return TreasurySharedResourceBillingDetails(
    address: Address.fromJson(map['address']),
    email: map['email'] == null ? null : (map['email'] as String),
    name: map['name'] == null ? null : (map['name'] as String),
  );
}