UrlMap.fromJson constructor
UrlMap.fromJson(
- Map json_
Implementation
UrlMap.fromJson(core.Map json_)
: this(
apiEndpoint: json_.containsKey('apiEndpoint')
? ApiEndpointHandler.fromJson(
json_['apiEndpoint'] as core.Map<core.String, core.dynamic>)
: null,
authFailAction: json_.containsKey('authFailAction')
? json_['authFailAction'] as core.String
: null,
login:
json_.containsKey('login') ? json_['login'] as core.String : null,
redirectHttpResponseCode:
json_.containsKey('redirectHttpResponseCode')
? json_['redirectHttpResponseCode'] as core.String
: null,
script: json_.containsKey('script')
? ScriptHandler.fromJson(
json_['script'] as core.Map<core.String, core.dynamic>)
: null,
securityLevel: json_.containsKey('securityLevel')
? json_['securityLevel'] as core.String
: null,
staticFiles: json_.containsKey('staticFiles')
? StaticFilesHandler.fromJson(
json_['staticFiles'] as core.Map<core.String, core.dynamic>)
: null,
urlRegex: json_.containsKey('urlRegex')
? json_['urlRegex'] as core.String
: null,
);