toEntity method

  1. @override
ActionEntity toEntity({
  1. String? appId,
})
override

Implementation

@override
ActionEntity toEntity({String? appId}) {
  return PostActionEntity(
      feedId: (feed != null) ? feed!.documentID : null,
      conditions: (conditions != null) ? conditions!.toEntity() : null,
      appId: appId);
}