toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (apiScope != null) 'apiScope': apiScope!,
if (fields != null) 'fields': fields!,
if (name != null) 'name': name!,
if (queryScope != null) 'queryScope': queryScope!,
if (state != null) 'state': state!,
};