toJson method

  1. @override
Object? toJson(
  1. RadiusTokenValue value
)

Implementation

@override
Object? toJson(RadiusTokenValue value) {
  return {
    'smoothing': value.smoothing,
    'topLeft': value.radius.topLeft.x,
    'topRight': value.radius.topRight.x,
    'bottomLeft': value.radius.bottomLeft.x,
    'bottomRight': value.radius.bottomRight.x,
  };
}