BusinessIntro class abstract
Represents an introduction to a business.
- Annotations
-
- @freezed
Constructors
- BusinessIntro.new({@JsonKey(name: 'title') String? title, @JsonKey(name: 'message') String? message, @JsonKey(name: 'sticker') Sticker? sticker})
-
Creates a BusinessIntro object.
constfactory
-
BusinessIntro.fromJson(Map<
String, dynamic> json) -
Creates a BusinessIntro object from a JSON map.
factory
Properties
-
copyWith
→ $BusinessIntroCopyWith<
BusinessIntro> -
Create a copy of BusinessIntro
with the given fields replaced by the non-null parameter values.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
Optional. Message text of the business intro.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sticker → Sticker?
-
Optional. Sticker of the business intro.
no setterinherited
- title → String?
-
Optional. Title text of the business intro.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this BusinessIntro to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited