fromString static method

RecipientType fromString(
  1. String id
)

Implementation

static RecipientType fromString(String id) =>
    values.firstWhere((type) => type.id == id);