toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RoleMappingType.token:
      return 'Token';
    case RoleMappingType.rules:
      return 'Rules';
  }
}