fromMap static method

PostActionEntity fromMap(
  1. Map snap
)
override

Implementation

static PostActionEntity fromMap(Map snap) {
  return PostActionEntity(
    appId: snap["appID"],
    feedId: snap["feedId"],
    conditions: DisplayConditionsEntity.fromMap(snap['conditions']),
  );
}