Announcement class Null safety

Constructors

Announcement({String? title, int? id, int? nextId, int? lastId, int? weight, String? imgUrl, String? url, String? description, String? publishedTime, String? expireTime, String? applicant, String? applicationId, bool? reviewStatus, String? reviewDescription, List<String?>? tags, int? randomWeight})
Announcement.fromJson(Map<String, dynamic> json)
factory
Announcement.fromRawJson(String str)
factory

Properties

applicant String?
read / write
applicationId String?
read / write
description String?
read / write
expireTime String?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id int?
read / write
imgUrl String?
read / write
lastId int?
read / write
nextId int?
read / write
publishedTime String?
read / write
randomWeight int?
read / write
reviewDescription String?
read / write
reviewStatus bool?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tags List<String?>?
read / write
title String?
read / write
url String?
read / write
weight int?
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toAddApplicationJson(String fcmToken) Map<String, dynamic>
toJson() Map<String, dynamic>
toRawJson() String
toRawUpdateJson() String
toString() String
A string representation of this object. [...]
inherited
toUpdateApplicationJson() Map<String, dynamic>
toUpdateJson() Map<String, dynamic>

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited