uploadFile property
Uploads bytes for the field this state belongs to and applies the
outcome — value on success, error on failure — through the owning
provider. FileFieldWidget only ever calls this after filePicker
itself returned non-null, so a caller that never sets filePicker has
no reason to set this either; see ResourceFormScreen._field().
Implementation
final Future<void> Function({
required List<int> bytes,
required String filename,
})?
uploadFile;