toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (enrichedEventPayloadSchema != null)
        'enrichedEventPayloadSchema': enrichedEventPayloadSchema!,
      if (entityType != null) 'entityType': entityType!,
      if (eventPayloadSchema != null)
        'eventPayloadSchema': eventPayloadSchema!,
      if (eventTypeId != null) 'eventTypeId': eventTypeId!,
      if (idPath != null) 'idPath': idPath!,
      if (name != null) 'name': name!,
      if (updateTime != null) 'updateTime': updateTime!,
    };