ExportPublisherModelResponse.fromJson constructor

ExportPublisherModelResponse.fromJson(
  1. Object? j
)

Implementation

factory ExportPublisherModelResponse.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return ExportPublisherModelResponse(
    publisherModel: switch (json['publisherModel']) {
      null => '',
      Object $1 => decodeString($1),
    },
    destinationUri: switch (json['destinationUri']) {
      null => '',
      Object $1 => decodeString($1),
    },
  );
}