Raised before the json map is filled with the object fields
json
@override void beforeEncodeEx(Map<String, dynamic> json, [dynamic exParam]) {}