core.Map<core.String, core.dynamic> toJson() => { if (inputs != null) 'inputs': inputs!.map((value) => value.toJson()).toList(), if (key != null) 'key': key!, };