encodeElevatedButtonThemeData static method
Encodes the given value
into a JSON representation.
{
"style": "<ButtonStyle>"
}
See also:
Implementation
static Map<String, dynamic>? encodeElevatedButtonThemeData(
ElevatedButtonThemeData? value,
) {
Map<String, dynamic>? result;
if (value != null) {
result = <String, dynamic>{
'style': encodeButtonStyle(value.style),
};
}
return _stripDynamicNull(result);
}