create static method

Config create(
  1. Map map
)

Implementation

static Config create(Map map) {
  Config config = Config();

  if (map["redirectUris"] is List) {
    config.redirectUris = List<String>.from(map["redirectUris"]);
  }

  config.identifier = map["identifier"].toString();

  return config;
}