toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (field != null) 'field': field!,
if (fields != null) 'fields': fields!,
if (mode != null) 'mode': mode!,
if (type != null) 'type': type!,
};