toJson method

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

Implementation

@override
Object? toJson(Size value) {
  return {
    'width': value.width,
    'height': value.height,
  };
}