GetAccountResponse.fromJson constructor

GetAccountResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GetAccountResponse.fromJson(Map<String, dynamic> json) {
  return GetAccountResponse(
    dedicatedIpAutoWarmupEnabled:
        json['DedicatedIpAutoWarmupEnabled'] as bool?,
    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?,
  );
}