IapSettings.fromJson constructor

IapSettings.fromJson(
  1. Map json_
)

Implementation

IapSettings.fromJson(core.Map json_)
    : this(
        accessSettings: json_.containsKey('accessSettings')
            ? AccessSettings.fromJson(json_['accessSettings']
                as core.Map<core.String, core.dynamic>)
            : null,
        applicationSettings: json_.containsKey('applicationSettings')
            ? ApplicationSettings.fromJson(json_['applicationSettings']
                as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );