ObjectTypes.fromJson constructor
Implementation
factory ObjectTypes.fromJson(Map<String, dynamic> json) {
return ObjectTypes(
base: (json['base'] as String?)?.toObjectTypeEnum(),
destination: (json['destination'] as String?)?.toObjectTypeEnum(),
source: (json['source'] as String?)?.toObjectTypeEnum(),
);
}