toMemberDisabledReason method

MemberDisabledReason toMemberDisabledReason()

Implementation

MemberDisabledReason toMemberDisabledReason() {
  switch (this) {
    case 'VOLUME_TOO_HIGH':
      return MemberDisabledReason.volumeTooHigh;
    case 'VOLUME_UNKNOWN':
      return MemberDisabledReason.volumeUnknown;
  }
  throw Exception('$this is not known in enum MemberDisabledReason');
}