toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (apiproduct != null) 'apiproduct': apiproduct!,
if (createdAt != null) 'createdAt': createdAt!,
if (endTime != null) 'endTime': endTime!,
if (lastModifiedAt != null) 'lastModifiedAt': lastModifiedAt!,
if (name != null) 'name': name!,
if (startTime != null) 'startTime': startTime!,
};