ConfigManagementSyncError.fromJson constructor

ConfigManagementSyncError.fromJson(
  1. Map json_
)

Implementation

ConfigManagementSyncError.fromJson(core.Map json_)
    : this(
        code: json_.containsKey('code') ? json_['code'] as core.String : null,
        errorMessage: json_.containsKey('errorMessage')
            ? json_['errorMessage'] as core.String
            : null,
        errorResources: json_.containsKey('errorResources')
            ? (json_['errorResources'] as core.List)
                .map((value) => ConfigManagementErrorResource.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );