Animations.fromJson constructor

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

Parse from a json

Implementation

factory Animations.fromJson(Map<String, dynamic> json) => Animations(
  animations: List<Animation>.from((json['animations'] ?? []).map((item) => Animation.fromJson(item)).toList()),
  extra: json['@extra'],
  clientId: json['@client_id'],
);