DartTestEntityTest.fromJson constructor Null safety

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

Implementation

factory DartTestEntityTest.fromJson(Map<String, dynamic> json) =>
    DartTestEntityTest(
      groupIDs: List<int>.from(json["groupIDs"].map((x) => x)),
      name: json["name"],
      id: json["id"],
      metadata: DartTestEntityMetadata.fromJson(json["metadata"]),
      suiteID: json["suiteID"],
      line: json["line"],
      column: json["column"],
      url: json["url"],
      rootLine: json["root_line"],
      rootColumn: json["root_column"],
      rootUrl: json["root_url"],
    );