fromJson method

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

Returned JSON Map object from values of this object

Implementation

void fromJson(Map<String, dynamic> json) {
  name = json['name'];
  ascending = json['ascending'];
}