GifAnimationCodec class final

Reusable dart:convert codec for GIF animation sequences.

Inheritance

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 from T to S.
final
encoder GifAnimationEncoder
Returns the encoder from S to T.
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 encoded data.
inherited
encode(RasterAnimation input) List<int>
Encodes input.
inherited
fuse<R>(Codec<List<int>, R> other) Codec<RasterAnimation, R>
Fuses this with other.
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