first commit

This commit is contained in:
2022-02-08 16:16:13 +05:30
commit 29100d8e86
102 changed files with 3360 additions and 0 deletions

View File

@ -0,0 +1,27 @@
import 'package:geojson/geojson.dart';
import 'package:latlong2/latlong.dart';
class RogEvent{
int? id;
String? title;
String? venue;
DateTime? at_date;
List<LatLng>? latlngs;
RogEvent({this.id, this.title, this.venue, this.at_date, this.latlngs});
RogEvent.fromId(int id){
this.id = id;
}
Future<void> fromgeoJson(String geojson) async {
final geo = GeoJson();
return await geo.parse(geojson, verbose: true);
}
}