ScanResult constructor
ScanResult({
- ResultType? type,
- String? rawContent,
- BarcodeFormat? format,
- String? formatNote,
Implementation
factory ScanResult({
ResultType? type,
$core.String? rawContent,
BarcodeFormat? format,
$core.String? formatNote,
}) {
final result = create();
if (type != null) result.type = type;
if (rawContent != null) result.rawContent = rawContent;
if (format != null) result.format = format;
if (formatNote != null) result.formatNote = formatNote;
return result;
}