toMap method

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

Implementation

@override
Map<String, dynamic> toMap() => {
  'command': 'update_config',
  'recitationSpeed': config.recitationSpeed.name,
  'matchingStrictness': config.matchingStrictness.name,
  'enableEarlyMatching': config.enableEarlyMatching,
  'enableAutoReanchor': config.enableAutoReanchor,
  'reanchorStallThreshold': config.reanchorStallThreshold,
};