Traits.fromJson constructor

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

Implementation

Traits.fromJson(Map<String, dynamic> json) {
  traitType = json['trait_type'];
  value = json['value'];
  displayType = json['display_type'];
  maxValue = json['max_value'];
  traitCount = json['trait_count'];
  order = json['order'];
}