ListTestCasesResponse.fromJson constructor

ListTestCasesResponse.fromJson(
  1. Map _json
)

Implementation

ListTestCasesResponse.fromJson(core.Map _json)
    : this(
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
        testCases: _json.containsKey('testCases')
            ? (_json['testCases'] as core.List)
                .map<TestCase>((value) => TestCase.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );