GetAccountSettingsResponse.fromJson constructor

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

Implementation

factory GetAccountSettingsResponse.fromJson(Map<String, dynamic> json) {
  return GetAccountSettingsResponse(
    accountLimit: json['AccountLimit'] != null
        ? AccountLimit.fromJson(json['AccountLimit'] as Map<String, dynamic>)
        : null,
    accountUsage: json['AccountUsage'] != null
        ? AccountUsage.fromJson(json['AccountUsage'] as Map<String, dynamic>)
        : null,
  );
}