toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (distance != null) 'distance': distance!,
      if (entityId != null) 'entityId': entityId!,
      if (entityKeyValues != null) 'entityKeyValues': entityKeyValues!,
    };