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,
      );