IosTestLoop.fromJson constructor

IosTestLoop.fromJson(
  1. Map json_
)

Implementation

IosTestLoop.fromJson(core.Map json_)
    : this(
        appBundleId: json_.containsKey('appBundleId')
            ? json_['appBundleId'] as core.String
            : null,
        appIpa: json_.containsKey('appIpa')
            ? FileReference.fromJson(
                json_['appIpa'] as core.Map<core.String, core.dynamic>)
            : null,
        scenarios: json_.containsKey('scenarios')
            ? (json_['scenarios'] as core.List)
                .map((value) => value as core.int)
                .toList()
            : null,
      );