toRecencyType method

RecencyType toRecencyType()

Implementation

RecencyType toRecencyType() {
  switch (this) {
    case 'ACTIVE':
      return RecencyType.active;
    case 'INACTIVE':
      return RecencyType.inactive;
  }
  throw Exception('$this is not known in enum RecencyType');
}