toJson method
Implementation
String toJson() {
return json.encode({
'addresses': _addresses,
'addressGenerator': _addressGenerator.toJson()
});
}
String toJson() {
return json.encode({
'addresses': _addresses,
'addressGenerator': _addressGenerator.toJson()
});
}