capture method
Media capture input method in file upload controls. Read more...
Implementation
Input capture(String media, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('capture', media);
node.attrs!.add(attr);
}
return this;
}