toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  _json['userId'] = userId;
  if (apiKeyId != null) {
    _json['apiKeyId'] = apiKeyId;
  }
  if (credentialBundle != null) {
    _json['credentialBundle'] = credentialBundle;
  }
  return _json;
}