Origin.fromJson constructor
Implementation
factory Origin.fromJson(Map<String, dynamic> json) {
return Origin(
name: json['name'] as String?,
protocolPolicy:
(json['protocolPolicy'] as String?)?.toOriginProtocolPolicyEnum(),
regionName: (json['regionName'] as String?)?.toRegionName(),
resourceType: (json['resourceType'] as String?)?.toResourceType(),
);
}