toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (baseSpecs != null) 'baseSpecs': baseSpecs!,
if (codec != null) 'codec': codec!,
if (doesNotNeedSplitting != null)
'doesNotNeedSplitting': doesNotNeedSplitting!,
if (metadata != null) 'metadata': metadata!.toJson(),
if (spec != null) 'spec': spec!,
};