toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (encoding != null) 'encoding': encoding!,
if (message != null) 'message': message!,
if (name != null) 'name': name!,
if (schema != null) 'schema': schema!,
};