NEResult<T> constructor

const NEResult<T>({
  1. required int code,
  2. String? msg,
  3. T? data,
  4. String? requestId,
  5. int cost = 0,
})

Implementation

const NEResult(
    {required this.code, this.msg, this.data, this.requestId, this.cost = 0});