MultipartBytesFile class

origin: simlpu_mob/lib/globals.dart union-of: kt_ifm_gtid_mob/lib/global.dart, stm_portal_mob/lib/global.dart author: anovsiradj, opencode-go/glm-5.2 version: 2022-01-28, revised: 2026-08-17

In-memory multipart file (Uint8List) with mime detection + fallbacks. Pass to httpApiMultipartPost fileParams values.

Constructors

MultipartBytesFile({required Uint8List file, String? name, String? mime})

Properties

contentType → MediaType
no setter
file ↔ Uint8List
getter/setter pair
filename → String
no setter
hashCode → int
The hash code for this object.
no setterinherited
mime ↔ String?
getter/setter pair
name ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited