toJson method Null safety

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "groupIDs": List<dynamic>.from(groupIDs.map((x) => x)),
      "name": name,
      "id": id,
      "metadata": metadata.toJson(),
      "suiteID": suiteID,
      "line": line,
      "column": column,
      "url": url,
    };