Creates a result with explicit success status and message.
ProcessResult({required this.success, required this.msg});