Announcement class
- Annotations
-
- @JsonSerializable()
Constructors
-
Announcement({required String title, required int? id, int? nextId, int? lastId, required int weight, required String imgUrl, String? url, required String description, String? publishedTime, String? expireTime, String? applicant, String? applicationId, bool? reviewStatus, String? reviewDescription, List<
String> ? tags, int? randomWeight}) - Announcement.empty()
-
factory
-
Announcement.fromJson(Map<
String, dynamic> json) -
factory
- Announcement.fromRawJson(String str)
-
factory
Properties
- applicant ↔ String?
-
getter/setter pair
- applicationId ↔ String?
-
getter/setter pair
- description ↔ String
-
getter/setter pair
- expireTime ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int?
-
getter/setter pair
- imgUrl ↔ String
-
getter/setter pair
- lastId ↔ int?
-
getter/setter pair
- nextId ↔ int?
-
getter/setter pair
- publishedTime ↔ String?
-
getter/setter pair
- randomWeight ↔ int
-
getter/setter pair
- reviewDescription ↔ String?
-
getter/setter pair
- reviewStatus ↔ bool?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
getter/setter pair
- title ↔ String
-
getter/setter pair
- url ↔ String?
-
getter/setter pair
- weight ↔ int
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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