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
26 lines
880 B
Dart
26 lines
880 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of '../informationModel.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
InformationModel _$InformationModelFromJson(Map<String, dynamic> json) =>
|
|
InformationModel(
|
|
id: (json['id'] as num?)?.toInt(),
|
|
title: json['title'] as String,
|
|
content: json['content'] as String,
|
|
author: json['author'] as String,
|
|
createdAt: DateTime.parse(json['createdAt'] as String),
|
|
);
|
|
|
|
Map<String, dynamic> _$InformationModelToJson(InformationModel instance) =>
|
|
<String, dynamic>{
|
|
'id': instance.id,
|
|
'title': instance.title,
|
|
'content': instance.content,
|
|
'author': instance.author,
|
|
'createdAt': instance.createdAt.toIso8601String(),
|
|
};
|