SpineSkeletonJson class

Class for work with Spine skeleton.

Constructors

SpineSkeletonJson(File file)
Build with file.
SpineSkeletonJson.path(String path)
Build with path.
factory

Properties

file File
Working file for skeleton.
final
hashCode int
The hash code for this object.
no setterinherited
json → JsonMap
file to Map.
no setter
raw String
file as String.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

leaveAnimations(List<String> names) → JsonMap
Leaves animation contains names.
moveAnimation(String nameFrom, String nameTo) → JsonMap
Move animation from namesFrom to nameTo.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeAnimation(String name) → JsonMap
Remove animation with name.
save(JsonMap newJson) → void
Save newJson to file.
scale(num s) → JsonMap
Scales animation.
toString() String
A string representation of this object.
inherited

Operators

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

Constants

needToScaleInnerFields → const List<String>
Fields for scale.
needToScaleRootFields → const List<String>
Fields for scale.