CompanySettings constructor
- @JsonSerializable(explicitToJson: true)
- @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
Implementation
@JsonSerializable(explicitToJson: true)
factory 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;