fromJSON method
Implementation
@override
Object? fromJSON(dynamic jsonValue, DeserializationContext context) {
return jsonValue is String ? base64Decode(jsonValue) : jsonValue;
}
@override
Object? fromJSON(dynamic jsonValue, DeserializationContext context) {
return jsonValue is String ? base64Decode(jsonValue) : jsonValue;
}