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;
}