determineMargin static method

EdgeInsetsGeometry? determineMargin(
  1. AppModel app,
  2. MemberModel? member,
  3. BackgroundModel? bdm
)

Implementation

static EdgeInsetsGeometry? determineMargin(
  AppModel app,
  MemberModel? member,
  BackgroundModel? bdm,
) {
  if (bdm == null) return null;
  return _fromEdgeInsetsGeometryModel(bdm.margin);
}