MediaInfo class
Class used to return informations retrieved from an image or video.
Constructors
- MediaInfo.new({String? fileName, String? base64, String? base64WithScheme, Uint8List? data})
-
MediaInfo.fromJson(Map<
String, dynamic> json) -
Factory constructor to generate MediaInfo from Map<String, dynamic>.
factory
Properties
- base64 → String?
-
File's data to Base64.
final
- base64WithScheme → String?
-
File's data to Base64WithScheme.
final
- data → Uint8List?
-
File's bytes data.
final
- fileName → String?
-
Name of the file.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toJson(
) → Map< String, dynamic> - Convert MediaInfo to Map<String, dynamic> format
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited