NotificationBody class

Inheritance

Constructors

NotificationBody({String? title, String? description, String? photoUrl, String? userId, List<String>? products, List<String>? categories, List<String>? campaigns, String? storeId})

Properties

campaigns List<String>?
getter/setter pair
categories List<String>?
getter/setter pair
description String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
photoUrl String?
getter/setter pair
products List<String>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storeId String?
getter/setter pair
title String?
getter/setter pair
userId String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFormData() Future<FormData?>?
Converts the body data model to a FormData object.
override
toPostJson() Map<String, dynamic>?
Converts the body data model to a JSON object for a POST request.
override
toPutJson() Map<String, dynamic>?
Converts the body data model to a JSON object for a PUT request.
override
toString() String
A string representation of this object.
inherited

Operators

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