MediaV2Service class abstract
Constructors
- MediaV2Service({required String instance, required ClientContext context})
-
Returns the new instance of MediaV2Service.
factory
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
uploadMedia(
{required File file, File? thumbnail, String? description, MediaFocalPoints? focus}) → Future< MastodonResponse< MediaAttachment> > - Creates a media attachment to be used with a new status.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited