createPostMediumModelPhoto static method

Future<MemberMediumContainerModel> createPostMediumModelPhoto(
  1. AppModel app,
  2. String memberId,
  3. String assetPath
)

Implementation

static Future<MemberMediumContainerModel> createPostMediumModelPhoto(
    AppModel app, String memberId, String assetPath) async {
  var photo = await createMemberMediumModelPhoto(app, memberId, assetPath);
  return MemberMediumContainerModel(
    documentID: newRandomKey(),
    memberMedium: photo,
  );
}