toJson method
Convert the UpdateAssetContract object to a JSON representation.
Implementation
@override
Map<String, dynamic> toJson() {
return {
"owner_address": ownerAddress.toString(),
"description": StringUtils.tryDecode(description),
"url": StringUtils.tryDecode(url),
"new_limit": newLimit?.toString(),
"new_public_limit": newPublicLimit?.toString()
}..removeWhere((key, value) => value == null);
}