PublisherAccount.fromJson constructor

PublisherAccount.fromJson(
  1. Map json_
)

Implementation

PublisherAccount.fromJson(core.Map json_)
    : this(
        currencyCode: json_.containsKey('currencyCode')
            ? json_['currencyCode'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        publisherId: json_.containsKey('publisherId')
            ? json_['publisherId'] as core.String
            : null,
        reportingTimeZone: json_.containsKey('reportingTimeZone')
            ? json_['reportingTimeZone'] as core.String
            : null,
      );