TestSpecification.fromJson constructor
TestSpecification.fromJson(
- Map _json
Implementation
TestSpecification.fromJson(core.Map _json)
: this(
androidInstrumentationTest:
_json.containsKey('androidInstrumentationTest')
? AndroidInstrumentationTest.fromJson(
_json['androidInstrumentationTest']
as core.Map<core.String, core.dynamic>)
: null,
androidRoboTest: _json.containsKey('androidRoboTest')
? AndroidRoboTest.fromJson(_json['androidRoboTest']
as core.Map<core.String, core.dynamic>)
: null,
androidTestLoop: _json.containsKey('androidTestLoop')
? AndroidTestLoop.fromJson(_json['androidTestLoop']
as core.Map<core.String, core.dynamic>)
: null,
disablePerformanceMetrics:
_json.containsKey('disablePerformanceMetrics')
? _json['disablePerformanceMetrics'] as core.bool
: null,
disableVideoRecording: _json.containsKey('disableVideoRecording')
? _json['disableVideoRecording'] as core.bool
: null,
iosTestLoop: _json.containsKey('iosTestLoop')
? IosTestLoop.fromJson(
_json['iosTestLoop'] as core.Map<core.String, core.dynamic>)
: null,
iosTestSetup: _json.containsKey('iosTestSetup')
? IosTestSetup.fromJson(
_json['iosTestSetup'] as core.Map<core.String, core.dynamic>)
: null,
iosXcTest: _json.containsKey('iosXcTest')
? IosXcTest.fromJson(
_json['iosXcTest'] as core.Map<core.String, core.dynamic>)
: null,
testSetup: _json.containsKey('testSetup')
? TestSetup.fromJson(
_json['testSetup'] as core.Map<core.String, core.dynamic>)
: null,
testTimeout: _json.containsKey('testTimeout')
? _json['testTimeout'] as core.String
: null,
);