toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var version = this.version;
  var space = this.space;

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