optionallyResolve method

BorderRadius optionallyResolve(
  1. BuildContext context
)

Implementation

BorderRadius optionallyResolve(BuildContext context) {
  if (this is BorderRadius) {
    return this as BorderRadius;
  }
  return resolve(Directionality.of(context));
}