MultiSelectOption.fromJson constructor
Create a new multi select instance from json.
Receive a json
from where the information is extracted.
Implementation
MultiSelectOption.fromJson(Map<String, dynamic> json)
: this.name = json['name'] ?? '',
this.id = json['id'],
this.color = stringToColorType(json['color'] ?? '');