fromJson$Enum$BookingSourceEnum function
Implementation
Enum$BookingSourceEnum fromJson$Enum$BookingSourceEnum(String value) {
switch (value) {
case r'APP':
return Enum$BookingSourceEnum.APP;
case r'PHONE':
return Enum$BookingSourceEnum.PHONE;
case r'EMAIL':
return Enum$BookingSourceEnum.EMAIL;
case r'WEBSITE':
return Enum$BookingSourceEnum.WEBSITE;
case r'FACEBOOK':
return Enum$BookingSourceEnum.FACEBOOK;
case r'INSTAGRAM':
return Enum$BookingSourceEnum.INSTAGRAM;
default:
return Enum$BookingSourceEnum.$unknown;
}
}