toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var type = this.type;
  var versionId = this.versionId;
  var versionOrder = this.versionOrder;

  final json = <String, Object?>{};
  json[r'type'] = type;
  json[r'versionId'] = versionId;
  if (versionOrder != null) {
    json[r'versionOrder'] = versionOrder;
  }
  return json;
}