SelectionModel.fromJson constructor

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

SelectionModel.fromJson extension method to get selection model from json

Implementation

SelectionModel.fromJson(Map<String, dynamic> json) {
  index = json['index'];
  length = json['length'];
}