serialize method

  1. @override
dynamic serialize(
  1. BorderRadius value,
  2. DogEngine engine
)
override

Serializes the given value to a DogNativeCodec native value.

Implementation

@override
serialize(BorderRadius value, DogEngine engine) {
  return [value.topLeft.x, value.topRight.x, value.bottomLeft.x, value.bottomRight.x];
}