toJson method

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

Implementation

@override
Object? toJson(Offset value) {
  return {
    'x': value.dx,
    'y': value.dy,
  };
}