toJson method

  1. @override
List<double>? toJson(
  1. Location? object
)

Implementation

@override
List<double>? toJson(Location? object) {
  return object == null ? null : object.asList;
}