toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (apiEndpoint != null) 'apiEndpoint': apiEndpoint!,
      if (authFailAction != null) 'authFailAction': authFailAction!,
      if (login != null) 'login': login!,
      if (redirectHttpResponseCode != null)
        'redirectHttpResponseCode': redirectHttpResponseCode!,
      if (script != null) 'script': script!,
      if (securityLevel != null) 'securityLevel': securityLevel!,
      if (staticFiles != null) 'staticFiles': staticFiles!,
      if (urlRegex != null) 'urlRegex': urlRegex!,
    };