toJson method

  1. @override
Object toJson()
override

Convert the object to a Json format.

Implementation

@override
Object toJson() => (hue == null)
    ? const <Object>[BitmapDescriptor._defaultMarker]
    : <Object>[BitmapDescriptor._defaultMarker, hue!];