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