MoveBattleStyleName.fromJson constructor

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

Implementation

MoveBattleStyleName.fromJson(Map<String, dynamic> json) {
  name = json['name'];
  language = json['language'] != null
      ?  NamedAPIResource.fromJson(json['language'])
      : null;
}