toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      'part': part,
      'references': references.map((x) => x.toJson()).toList(),
    };