create method

RestActionAble create(
  1. Widget rest
)

Implementation

RestActionAble create(Widget rest) {
  if (rest is RestActionAble) {
    rest.writable = writable;
    return rest;
  }
  return RestAction(writable, rest);
}