Result.success constructor

Result.success(
  1. String message,
  2. int code
)

Implementation

factory Result.success(String message, int code) = SuccessResult;