NIMResult<T>.failure constructor
Null safety
Implementation
NIMResult.failure({int code = -1, String? message})
: this(code, null, message);
NIMResult.failure({int code = -1, String? message})
: this(code, null, message);