fromRawValue static method

IaCardLinkEnvironment fromRawValue(
  1. String? rawValue
)

Creates an instance from a raw string value.

Implementation

static IaCardLinkEnvironment fromRawValue(String? rawValue) {
  switch (rawValue) {
    case 'DEBUG':
      return IaCardLinkEnvironment.debug;
    case 'PRODUCTION':
    default:
      return IaCardLinkEnvironment.production;
  }
}