fromJson static method

NamingSystemTypeEnum? fromJson(
  1. dynamic json
)

Converts a string/JSON value to the corresponding enum value.

Implementation

static NamingSystemTypeEnum? fromJson(dynamic json) {
  if (json == null || json is! String) {
    return null;
  }
  return NamingSystemTypeEnum.fromString(json);
}