AndroidTest.fromJson constructor

AndroidTest.fromJson(
  1. Map _json
)

Implementation

AndroidTest.fromJson(core.Map _json)
    : this(
        androidAppInfo: _json.containsKey('androidAppInfo')
            ? AndroidAppInfo.fromJson(_json['androidAppInfo']
                as core.Map<core.String, core.dynamic>)
            : null,
        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,
        testTimeout: _json.containsKey('testTimeout')
            ? Duration.fromJson(
                _json['testTimeout'] as core.Map<core.String, core.dynamic>)
            : null,
      );