OAuthSettings.fromJson constructor

OAuthSettings.fromJson(
  1. Map json_
)

Implementation

OAuthSettings.fromJson(core.Map json_)
    : this(
        loginHint: json_.containsKey('loginHint')
            ? json_['loginHint'] as core.String
            : null,
        programmaticClients: json_.containsKey('programmaticClients')
            ? (json_['programmaticClients'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );