toJson method

Map toJson()

Implementation

Map toJson() {
  return {}..removeWhere((_, v) => v == null);
}