decode method

Doc<ServiceControlEntity> decode (
  1. Store store,
  2. DocumentSnapshot snapshot
)

Implementation

static Doc<ServiceControlEntity> decode(Store store, DocumentSnapshot snapshot) => Doc<ServiceControlEntity>(
      store,
      snapshot.reference,
      ServiceControlEntity.fromJson(snapshot.data),
    );