ApiFile constructor
const
ApiFile({})
Implementation
const ApiFile({
required this.fieldName,
this.path,
this.bytes,
this.filename,
this.mimeType,
}) : assert(
path != null || bytes != null,
'ApiFile: either path or bytes must be provided',
);