IosTestSetup.fromJson constructor

IosTestSetup.fromJson(
  1. Map json_
)

Implementation

IosTestSetup.fromJson(core.Map json_)
    : this(
        additionalIpas: json_.containsKey('additionalIpas')
            ? (json_['additionalIpas'] as core.List)
                .map((value) => FileReference.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        networkProfile: json_.containsKey('networkProfile')
            ? json_['networkProfile'] as core.String
            : null,
        pullDirectories: json_.containsKey('pullDirectories')
            ? (json_['pullDirectories'] as core.List)
                .map((value) => IosDeviceFile.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        pushFiles: json_.containsKey('pushFiles')
            ? (json_['pushFiles'] as core.List)
                .map((value) => IosDeviceFile.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );