BrandApi class
Constructors
BrandApi (Dio _dio , Serializers _serializers )
const
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
deleteBrandImage ({CancelToken? cancelToken , Map <String , dynamic > ? headers , Map <String , dynamic > ? extra , ValidateStatus? validateStatus , ProgressCallback? onSendProgress , ProgressCallback? onReceiveProgress })
→ Future <Response<StatusOK > >
Delete current brand image
Deletes the previously uploaded brand image. Returns 404 if no brand image has been uploaded. ##### Permissions Must have `manage_system` permission. Minimum server version: 5.6
getBrandImage ({CancelToken? cancelToken , Map <String , dynamic > ? headers , Map <String , dynamic > ? extra , ValidateStatus? validateStatus , ProgressCallback? onSendProgress , ProgressCallback? onReceiveProgress })
→ Future <Response<String > >
Get brand image
Get the previously uploaded brand image. Returns 404 if no brand image has been uploaded. ##### Permissions No permission required.
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
uploadBrandImage ({required MultipartFile image , CancelToken? cancelToken , Map <String , dynamic > ? headers , Map <String , dynamic > ? extra , ValidateStatus? validateStatus , ProgressCallback? onSendProgress , ProgressCallback? onReceiveProgress })
→ Future <Response<StatusOK > >
Upload brand image
Uploads a brand image. ##### Permissions Must have `manage_system` permission.