fromString method

IdServerUnbindResult? fromString(
  1. String val
)

Implementation

IdServerUnbindResult? fromString(String val) {
  final override = {
    'no-support': IdServerUnbindResult.noSupport,
    'success': IdServerUnbindResult.success,
  }[val];
// ignore: unnecessary_this
  return this.contains(override) ? override : null;
}