toMap method

Map<String, dynamic> toMap()

Produces a map representation of this class

Implementation

Map<String, dynamic> toMap() {
  return {'name': name, 'timestampMs': timestampMs, 'attributes': attributes};
}