toJson method
Implementation
@override
Map<String, dynamic>? toJson(PopupMenuThemeData? object) {
if (object == null) return null;
return <String, dynamic>{
'color': const NullableColorConverter().toJson(object.color),
'elevation': object.elevation,
'enableFeedback': object.enableFeedback,
'shape': const NullableShapeBorderConverter().toJson(object.shape),
'textStyle': const NullableTextStyleConverter().toJson(object.textStyle),
};
}