getUser method Null safety
Implementation
static User getUser() =>
OpenFoodAPIConfiguration.globalUser ??
const User(
userId: 'smoothie-app',
password: 'strawberrybanana',
comment: 'Test user for project smoothie',
);
static User getUser() =>
OpenFoodAPIConfiguration.globalUser ??
const User(
userId: 'smoothie-app',
password: 'strawberrybanana',
comment: 'Test user for project smoothie',
);