fromJS static method

Recipient fromJS(
  1. JSString value
)

Implementation

static Recipient fromJS(JSString value) {
  var dartValue = value.toDart;
  return values.firstWhere((e) => e.value == dartValue);
}