ExportPublisherModelRequest.fromJson constructor
ExportPublisherModelRequest.fromJson(
- Object? j
Implementation
factory ExportPublisherModelRequest.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return ExportPublisherModelRequest(
name: switch (json['name']) {
null => '',
Object $1 => decodeString($1),
},
destination: switch (json['destination']) {
null => null,
Object $1 => GcsDestination.fromJson($1),
},
parent: switch (json['parent']) {
null => '',
Object $1 => decodeString($1),
},
);
}