toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'autoCapture':
        autoCapture?.toMap(), // Convert autoCapture to a map if not null
  };
}