toWire method

Map<String, dynamic> toWire()

Implementation

Map<String, dynamic> toWire() => {
      'event_id': eventId,
      'command_id': commandId,
      'kind': kind.wire,
      'generation': generation,
      'detail': detail,
    };