LavaDiffFrame class

A diff frame in a Lava animation.

A diff frame contains only the differences from the base frame, which allows for more efficient storage and rendering of animations.

Implemented types

Constructors

LavaDiffFrame({required List<List<int>> diffs})
Creates a new LavaDiffFrame with the specified diffs.
LavaDiffFrame.fromJson(Map<String, dynamic> json)
Creates a LavaDiffFrame from a JSON object.
factory

Properties

diffs List<List<int>>
The list of diff operations to apply to render this frame.
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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited