GifAnimationCodec class final
Reusable dart:convert codec for GIF animation sequences.
- Inheritance
-
- Object
- Codec<
RasterAnimation, List< int> > - GifAnimationCodec
Constructors
- GifAnimationCodec({GifAnimationEncoder encoder = const GifAnimationEncoder(), GifAnimationDecoder decoder = const GifAnimationDecoder()})
-
Creates a GIF animation codec with immutable default options.
const
Properties
- decoder → GifAnimationDecoder
-
Returns the decoder of
this, converting fromTtoS.final - encoder → GifAnimationEncoder
-
Returns the encoder from
StoT.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
inverted
→ Codec<
List< int> , RasterAnimation> -
Inverts
this.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decode(
List< int> encoded) → RasterAnimation -
Decodes
encodeddata.inherited -
encode(
RasterAnimation input) → List< int> -
Encodes
input.inherited -
fuse<
R> (Codec< List< other) → Codec<int> , R>RasterAnimation, R> -
Fuses
thiswithother.inherited -
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