toJson method
Implementation
@override
Map<String, dynamic>? toJson(CheckboxThemeData? object) {
if (object == null) return null;
return {
'checkColor': const NullableMaterialStatePropertyColorConverter().toJson(
object.checkColor,
),
'fillColor': const NullableMaterialStatePropertyColorConverter().toJson(
object.fillColor,
),
'materialTapTargetSize':
const NullableMaterialTapTargetSizeConverter().toJson(
object.materialTapTargetSize,
),
'mouseCursor':
const NullableMaterialStatePropertyMouseCursorConverter().toJson(
object.mouseCursor,
),
'overlayColor':
const NullableMaterialStatePropertyColorConverter().toJson(
object.overlayColor,
),
'splashRadius': object.splashRadius,
'visualDensity':
const NullableVisualDensityConverter().toJson(object.visualDensity),
};
}