from static method

WheelchairUse? from(
  1. String? description
)

Implementation

static WheelchairUse? from(String? description) {
  switch (description) {
    case 'na':
      return WheelchairUse.notSet;
    case 'No':
      return WheelchairUse.no;
    case 'Yes':
      return WheelchairUse.yes;
    default:
      return null;
  }
}