AndroidInstrumentationTest.fromJson constructor

AndroidInstrumentationTest.fromJson(
  1. Map _json
)

Implementation

AndroidInstrumentationTest.fromJson(core.Map _json)
    : this(
        testPackageId: _json.containsKey('testPackageId')
            ? _json['testPackageId'] as core.String
            : null,
        testRunnerClass: _json.containsKey('testRunnerClass')
            ? _json['testRunnerClass'] as core.String
            : null,
        testTargets: _json.containsKey('testTargets')
            ? (_json['testTargets'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
        useOrchestrator: _json.containsKey('useOrchestrator')
            ? _json['useOrchestrator'] as core.bool
            : null,
      );