TestCase.fromJson constructor

TestCase.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory TestCase.fromJson(Map<String, dynamic> json) {
  return TestCase(
    durationInNanoSeconds: json['durationInNanoSeconds'] as int?,
    expired: timeStampFromJson(json['expired']),
    message: json['message'] as String?,
    name: json['name'] as String?,
    prefix: json['prefix'] as String?,
    reportArn: json['reportArn'] as String?,
    status: json['status'] as String?,
    testRawDataPath: json['testRawDataPath'] as String?,
  );
}