toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['type'] = type;
data['value'] = value;
data['key'] = key;
data['boolValue'] = boolValue;
data['intValue'] = intValue;
return data;
}