NIMResult<T>.failure constructor Null safety

NIMResult<T>.failure(
  1. {int code = -1,
  2. String? message}
)

Implementation

NIMResult.failure({int code = -1, String? message})
    : this(code, null, message);