toRequestType function

RequestType toRequestType(
  1. int? index
)

Implementation

RequestType toRequestType(int? index) {
  switch (index) {
    case 0:
      return RequestType.requestEmailData;
    case 1:
      return RequestType.destroyAccount;
  }
  return RequestType.unknown;
}