customers top-level property
List<User>
customers
getter/setter pair
Implementation
List<User> customers = [
User(
firstName: 'customer1',
lastName: 'lastName1',
role: Role.customer,
company: customerCompanies[1],
email: 'emailXXX@example.org',
telephoneNr: '111111111111',
paymentMethod: PaymentMethod(
ccDescription: 'Master Card**********4444 11/2032',
creditCardNumber: '5555555555554444',
creditCardType: CreditCardType.mc,
expireMonth: '11',
expireYear: '2032'),
address: Address(
address1: 'soi 5',
address2: 'suite 23',
postalCode: '30071',
city: 'Pucket',
province: 'California',
country: countries[3].name),
),
User(
firstName: 'customer2',
lastName: 'lastName2',
role: Role.customer,
company: customerCompanies[2],
email: 'emailXXX@example.org',
telephoneNr: '12121212121212',
),
User(
firstName: 'customer3',
lastName: 'customer3NoComp',
role: Role.customer,
email: 'emailXXX@example.org',
),
User(
firstName: 'customer4',
lastName: 'customer4NoCompNOEmail',
role: Role.customer,
),
];