AcceptPublisherModelEulaRequest.fromJson constructor

AcceptPublisherModelEulaRequest.fromJson(
  1. Object? j
)

Implementation

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