maybeOf static method

RCKMessageEditScope? maybeOf(
  1. BuildContext context
)

Implementation

static RCKMessageEditScope? maybeOf(BuildContext context) {
  try {
    return Provider.of<RCKMessageEditScope>(context, listen: false);
  } on ProviderNotFoundException {
    return null;
  }
}