toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': '869d758f',
'\$name': 'SecureValueError',
'type': type,
'hash': hash,
'text': text,
};
// Finished toJson.
return returnValue;
}