toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() =>
    {
      "username": username,
      "source": source,
      "program": program,
      "requestId": requestId,
      "puId": puId,
      "policyNo": policyNo,
      "anchorId": anchorId,
      "channel": channel,
      "version": version,
      "userContext": userContext?.toJson(),
      "clientMeta": clientMeta?.toJson(),
      "clientId": clientId,
      "clientSecret": clientSecret,
      "theme": theme?.toJson(),
    };