FrameAnimation.fromJson constructor

FrameAnimation.fromJson(
  1. Map<String, dynamic> json
)

Implementation

FrameAnimation.fromJson(Map<String, dynamic> json) {
  duration = double.parse(json['duration'].toString());
  tileid = json['tileid'];
}