toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (id != null) {
    _json[r'id'] = id;
  }
  if (clientSecret != null) {
    _json[r'client_secret'] = clientSecret;
  }
  return _json;
}