BillingPortalConfigurationUpdateOptionsBusinessProfile.fromJson constructor
BillingPortalConfigurationUpdateOptionsBusinessProfile.fromJson(
- Object? json
Implementation
factory BillingPortalConfigurationUpdateOptionsBusinessProfile.fromJson(
Object? json) {
final map = (json as Map).cast<String, Object?>();
return BillingPortalConfigurationUpdateOptionsBusinessProfile(
headline: map['headline'] == null ? null : (map['headline'] as String),
privacyPolicyUrl: map['privacy_policy_url'] == null
? null
: (map['privacy_policy_url'] as String),
termsOfServiceUrl: map['terms_of_service_url'] == null
? null
: (map['terms_of_service_url'] as String),
);
}