locationToJson function

String locationToJson(
  1. Location data
)

Implementation

String locationToJson(Location data) => json.encode(data.toJson());