fromEntity static method

Implementation

static Future<MemberMediumContainerModel?> fromEntity(
    String documentID, MemberMediumContainerEntity? entity) async {
  if (entity == null) return null;
  return MemberMediumContainerModel(
    documentID: documentID,
    htmlReference: entity.htmlReference,
  );
}