CompanySettings class
CompanySettings class
- Annotations
-
- @freezed
Constructors
-
CompanySettings({@Default('') String? name, @Default('') String? address1, @Default('') String? address2, @Default('') String? city, @Default('') String? state, @Default('') String? phone, @Default('') String? email, @Default('') String? website, @Default('') @JsonKey(name: 'custom_value1') String? customValue1, @Default('') @JsonKey(name: 'custom_value2') String? customValue2, @Default('') @JsonKey(name: 'custom_value3') String? customValue3, @Default('') @JsonKey(name: 'custom_value4') String? customValue4, @Default('') @JsonKey(name: 'company_logo') String? companyLogo, @Default('') @JsonKey(name: 'postal_code') String? postalCode, @Default('') @JsonKey(name: 'country_id') String? countryId, @Default('') @JsonKey(name: 'vat_number') String? vatNumber, @Default(<Document>[]) List<
Document> documents, @Default({}) @JsonKey(name: 'custom_fields') Map<String, String> customFields}) -
CompanySettings factory constructor
factory
-
CompanySettings.fromJson(Map<
String, dynamic> json) -
Create a CompanySettings from JSON
factory
Properties
- address1 → String?
-
no setterinherited
- address2 → String?
-
no setterinherited
- city → String?
-
no setterinherited
- companyLogo → String?
-
no setterinherited
-
copyWith
→ $CompanySettingsCopyWith<
CompanySettings> -
no setterinherited
- countryId → String?
-
no setterinherited
-
customFields
→ Map<
String, String> -
no setterinherited
- customValue1 → String?
-
no setterinherited
- customValue2 → String?
-
no setterinherited
- customValue3 → String?
-
no setterinherited
- customValue4 → String?
-
no setterinherited
-
documents
→ List<
Document> -
no setterinherited
- email → String?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
no setterinherited
- phone → String?
-
no setterinherited
- postalCode → String?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → String?
-
no setterinherited
- vatNumber → String?
-
no setterinherited
- website → String?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited