LiasettingsCustomBatchResponseEntry.fromJson constructor

LiasettingsCustomBatchResponseEntry.fromJson(
  1. Map json_
)

Implementation

LiasettingsCustomBatchResponseEntry.fromJson(core.Map json_)
    : this(
        batchId: json_.containsKey('batchId')
            ? json_['batchId'] as core.int
            : null,
        errors: json_.containsKey('errors')
            ? Errors.fromJson(
                json_['errors'] as core.Map<core.String, core.dynamic>)
            : null,
        gmbAccounts: json_.containsKey('gmbAccounts')
            ? GmbAccounts.fromJson(
                json_['gmbAccounts'] as core.Map<core.String, core.dynamic>)
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        liaSettings: json_.containsKey('liaSettings')
            ? LiaSettings.fromJson(
                json_['liaSettings'] as core.Map<core.String, core.dynamic>)
            : null,
        omnichannelExperience: json_.containsKey('omnichannelExperience')
            ? LiaOmnichannelExperience.fromJson(json_['omnichannelExperience']
                as core.Map<core.String, core.dynamic>)
            : null,
        posDataProviders: json_.containsKey('posDataProviders')
            ? (json_['posDataProviders'] as core.List)
                .map((value) => PosDataProviders.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );