fromOptionalString static method

DevCredentials? fromOptionalString(
  1. String? credentials
)

Implementation

static DevCredentials? fromOptionalString(String? credentials) {
  if (credentials == null) {
    return null;
  }
  return DevCredentials.fromString(credentials);
}