fromJson static method Null safety

IntegerSignMode fromJson(
  1. String val
)

Implementation

static IntegerSignMode fromJson(String val) {
  for (final v in _values) {
    if (v._jsonName == val) {
      return v;
    }
  }
  throw ArgumentError('Bad DisplayMode:  $val');
}