toJson method Null safety
Implementation
String toJson() {
return "{"
"\"id\":\"$id\","
"\"displayName\":\"$displayName\","
"\"username\":\"$username\","
"\"primaryEmailAddress\":\"$primaryEmailAddress\"}";
}
String toJson() {
return "{"
"\"id\":\"$id\","
"\"displayName\":\"$displayName\","
"\"username\":\"$username\","
"\"primaryEmailAddress\":\"$primaryEmailAddress\"}";
}