toMap method
Convert CapturedData to map for method channel.
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{'width': width, 'height': height, 'bytes': bytes};
}
Convert CapturedData to map for method channel.
Map<String, dynamic> toMap() {
return <String, dynamic>{'width': width, 'height': height, 'bytes': bytes};
}