toJson method Null safety

String toJson()

Implementation

String toJson() {
  return "{"
      "\"passkey\":${passkey.toJson()},"
      "\"postBindingRedirectUri\":\"$postBindingRedirectUri\"}";
}