toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final dataLocation = this.dataLocation;
  return {
    if (dataLocation != null) 'dataLocation': dataLocation,
  };
}