Cant join team if in team Profile page resets properly Post button spam no longer leads to crash due to duplicate calls Housekeeping: Made some name changes moved homescreenpages from layout -> homeFeed Deleted 2 unused classes, authService.dart and old loginPage.dart then renamed startPage.dart -> loginPage.dart Set up openApi on backend and added URL in Service classes
30 lines
1014 B
Dart
30 lines
1014 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of '../activityModel.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
ActivityModel _$ActivityModelFromJson(Map<String, dynamic> json) =>
|
|
ActivityModel(
|
|
id: (json['id'] as num?)?.toInt(),
|
|
name: json['name'] as String,
|
|
startTime: json['startTime'] as String,
|
|
place: json['place'] as String,
|
|
description: json['description'] as String?,
|
|
date: DateTime.parse(json['date'] as String),
|
|
endTime: json['endTime'] as String?,
|
|
);
|
|
|
|
Map<String, dynamic> _$ActivityModelToJson(ActivityModel instance) =>
|
|
<String, dynamic>{
|
|
'id': instance.id,
|
|
'name': instance.name,
|
|
'startTime': instance.startTime,
|
|
'place': instance.place,
|
|
'description': instance.description,
|
|
'date': instance.date.toIso8601String(),
|
|
'endTime': instance.endTime,
|
|
};
|