toMap method

  1. @override
Map<String, dynamic> toMap()
override

Implementation

@override
Map<String, dynamic> toMap() => {
      'type': type,
      'event': event,
      if (properties != null) 'properties': properties,
    };