# fromString static method

ApplicationType fromString(

1. String name

)

Returns the ApplicationType that matches the given `name`.

The comparison is case-insensitive. If no match is found, it returns ApplicationType.NONE.

Example:

    final type = ApplicationType.fromString('web');
    print(type); // ApplicationType.WEB

    final unknownType = ApplicationType.fromString('mobile');
    print(unknownType); // ApplicationType.NONE

## Implementation

    static ApplicationType fromString(String name) {
      return ApplicationType.values.firstWhere(
        (e) => e.name.equalsIgnoreCase(name),
        orElse: () => ApplicationType.NONE
      );
    }