TestSpecification.fromJson constructor

TestSpecification.fromJson(
  1. 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,
        iosRoboTest: json_.containsKey('iosRoboTest')
            ? IosRoboTest.fromJson(
                json_['iosRoboTest'] as core.Map<core.String, core.dynamic>)
            : 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,
      );