toJson method

Map<String, Object?> toJson()

Implementation

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

  final json = <String, Object?>{};
  json[r'value'] = value;
  json[r'version'] = version.toJson();
  return json;
}