toJson method

  1. @override
Object toJson()

Implementation

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