toJsonString method
Implementation
String toJsonString() {
final metadata = otherMetadata ?? {};
return json.encode(
{
'name': name,
'email': email,
'external_id': externalId,
'metadata': metadata,
},
);
}
String toJsonString() {
final metadata = otherMetadata ?? {};
return json.encode(
{
'name': name,
'email': email,
'external_id': externalId,
'metadata': metadata,
},
);
}