fromString static method

UserProfileVariant fromString(
  1. String? value
)

Implementation

static UserProfileVariant fromString(String? value) {
  switch (value) {
    case 'sdkModal':
      return UserProfileVariant.sdkModal;
    default:
      return UserProfileVariant.normal;
  }
}