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