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