toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (id != null) {
    json[r'id'] = id;
  }
  if (assigner != null) {
    json[r'assigner'] = assigner;
  }
  if (start != null) {
    json[r'start'] = start;
  }
  if (end != null) {
    json[r'end'] = end;
  }
  if (system != null) {
    json[r'system'] = system;
  }
  if (type != null) {
    json[r'type'] = type;
  }
  if (use != null) {
    json[r'use'] = use;
  }
  if (value != null) {
    json[r'value'] = value;
  }
  return json;
}