build method

YYDialog build([
  1. BuildContext? ctx
])

Implementation

YYDialog build([BuildContext? ctx]) {
  if (ctx == null && _context != null) {
    this.context = _context;
    return this;
  }
  this.context = ctx;
  return this;
}