toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (id != null) {
    json[r'id'] = id;
  }
  if (type != null) {
    json[r'type'] = type;
  }
  if (typedValue != null) {
    json[r'typedValue'] = typedValue;
  }
  if (deleted != null) {
    json[r'deleted'] = deleted;
  }
  return json;
}