Limits.fromJson constructor
Implementation
factory Limits.fromJson(Map<String, dynamic> json) {
return Limits(
additionalLimits: (json['AdditionalLimits'] as List?)
?.whereNotNull()
.map((e) => AdditionalLimit.fromJson(e as Map<String, dynamic>))
.toList(),
instanceLimits: json['InstanceLimits'] != null
? InstanceLimits.fromJson(
json['InstanceLimits'] as Map<String, dynamic>)
: null,
storageTypes: (json['StorageTypes'] as List?)
?.whereNotNull()
.map((e) => StorageType.fromJson(e as Map<String, dynamic>))
.toList(),
);
}