toJson method

  1. @override
Object toJson()
override

Convert the object to a Json format.

Implementation

@override
Object toJson() => <Object>[
      BitmapDescriptor._fromBytes,
      byteData,
      if (size != null) <Object>[size!.width, size!.height]
    ];