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