toJson method
Implementation
Map<String, dynamic> toJson() {
final name = this.name;
final typeHint = this.typeHint;
final value = this.value;
return {
if (name != null) 'name': name,
if (typeHint != null) 'typeHint': typeHint.toValue(),
if (value != null) 'value': value,
};
}