memberIsOwner method

  1. @override
bool memberIsOwner(
  1. String appId
)
override

Implementation

@override
bool memberIsOwner(String appId) {
  var memberId = member.documentID;
  for (var app in apps) {
    if (app.app.documentID == appId) return app.app.ownerID == memberId;
  }
  return false;
}