toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (description != null) 'description': description!,
if (kind != null) 'kind': kind!,
if (otherUnits != null) 'otherUnits': otherUnits!,
if (standardUnits != null) 'standardUnits': standardUnits!,
};