MediaHelperMixin mixin
media_helper_mixin.dart
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
calculateMaxSizeToReadableFormat(
double maxSize) → String -
Calculate the maximum size to a readable format
The
maxSize
is the maximum size in bytes -
getImageExtensionFromMimeType(
String mimeType) → String -
Get the file extension from the mime type
The
mimeType
is the mime type of the file -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
printToConsole(
String message) → dynamic -
Print to console
The
message
is the message to print -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited