Result<TData>.success constructor

Result<TData>.success(
  1. TData? data
)

Implementation

Result.success(this.data)
    : code = StatusCode.ok,
      message = "";