fromValue static method

Implementation

static CopyPageRequestDestinationType fromValue(String value) =>
    values.firstWhere((e) => e.value == value,
        orElse: () => CopyPageRequestDestinationType._(value));