toJson method
Implementation
@override
Object toJson() => {
if (indexDisplayNameMapping case final $1?)
'indexDisplayNameMapping': $1.toJson(),
'displayNameMappingKey': ?displayNameMappingKey,
if (outputTensorName.isNotDefault) 'outputTensorName': outputTensorName,
};