toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
  if (interval != null) 'interval': interval,
  if (note != null) 'note': note,
  if (requests != null) 'requests': requests,
};