toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return <String, dynamic>{
    if (apiKey != null) r'apiKey': apiKey,
    if (appId != null) r'appId': appId,
    if (userId != null) r'userId': userId,
    if (userToken != null) r'userToken': userToken,
  };
}