toJson method
Implementation
@override
Map<String, dynamic>? toJson(FloatingActionButtonThemeData? object) {
if (object == null) return null;
return <String, dynamic>{
'backgroundColor':
const NullableColorConverter().toJson(object.backgroundColor),
'disabledElevation': object.disabledElevation,
'elevation': object.elevation,
'focusColor': const NullableColorConverter().toJson(object.focusColor),
'focusElevation': object.focusElevation,
'foregroundColor':
const NullableColorConverter().toJson(object.foregroundColor),
'highlightElevation': object.highlightElevation,
'hoverColor': const NullableColorConverter().toJson(object.hoverColor),
'hoverElevation': object.hoverElevation,
'shape': const NullableShapeBorderConverter().toJson(object.shape),
'splashColor': const NullableColorConverter().toJson(object.splashColor),
};
}