ContestEffectFlavorTextEntry.fromJson constructor

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

Implementation

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