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