@override Map<String, Object?> toMap() { final map = <String, Object?>{ 'schema': schema, 'data': data, }; map.removeWhere((key, value) => value == null); return map; }