toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'level': this.level,
      'skill': this.skill,
      'years': this.years,
    };