Map<String, dynamic> toMap() { return <String, dynamic>{ 'type': ?type, 'value': ?value, 'variable': variable, }; }