DialogResult<T> class
对话框返回的数据。
@param status 状态,即确认取消状态。true为成功状态,即确定按钮的关闭等。 @param code 状态码,不同操作返回的状态码定义。 @param msg 返回的信息,一般日志等。 @param data 返回的数据。
Constructors
- DialogResult({required bool status, String? msg, required int code, T? data})
-
const
- DialogResult.cancel({String? msg, T? data})
-
factory
- DialogResult.success({String? msg, T? data})
-
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited