GetRegionsResult.fromJson constructor
Implementation
factory GetRegionsResult.fromJson(Map<String, dynamic> json) {
return GetRegionsResult(
regions: (json['regions'] as List?)
?.whereNotNull()
.map((e) => Region.fromJson(e as Map<String, dynamic>))
.toList(),
);
}