GetAccountResponse.fromJson constructor
GetAccountResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory GetAccountResponse.fromJson(Map<String, dynamic> json) {
return GetAccountResponse(
dedicatedIpAutoWarmupEnabled:
json['DedicatedIpAutoWarmupEnabled'] as bool?,
details: json['Details'] != null
? AccountDetails.fromJson(json['Details'] as Map<String, dynamic>)
: null,
enforcementStatus: json['EnforcementStatus'] as String?,
productionAccessEnabled: json['ProductionAccessEnabled'] as bool?,
sendQuota: json['SendQuota'] != null
? SendQuota.fromJson(json['SendQuota'] as Map<String, dynamic>)
: null,
sendingEnabled: json['SendingEnabled'] as bool?,
suppressionAttributes: json['SuppressionAttributes'] != null
? SuppressionAttributes.fromJson(
json['SuppressionAttributes'] as Map<String, dynamic>)
: null,
);
}