core.Map<core.String, core.dynamic> toJson() => { if (name != null) 'name': name!, if (parameters != null) 'parameters': parameters!, if (type != null) 'type': type!, };