toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (inspectConfig != null) 'inspectConfig': inspectConfig!,
      if (inspectTemplateName != null)
        'inspectTemplateName': inspectTemplateName!,
      if (item != null) 'item': item!,
      if (locationId != null) 'locationId': locationId!,
    };