AnimationSelection.fromJson constructor
Creates a AnimationSelection from json
.
Implementation
@override
factory AnimationSelection.fromJson(Map<String, dynamic> json) {
final info = Selection.fromJson(json);
return AnimationSelection(
info: info,
frameCount: json['frameCount'] as int,
stepTime: json['stepTime'] as double,
loop: json['loop'] as bool,
);
}