---
title: "Discussion on \"Result Data/Error wrapper in Dart for Flutter\" | Hashnode"
description: "Discussion on \"Result Data/Error wrapper in Dart for Flutter\". A very common way of handling responses that either return data or error in Swift is using a Result<S> enum object, or  Data Classes in Kotlin. \nThis type of data control is especially nice for data source requests, such as network, DB, etc, where it..."
url: "https://hashnode.com/posts/result-dataerror-wrapper-in-dart-for-flutter/6055bffe5f8d51216972680f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Result Data/Error wrapper in Dart for Flutter](https://cassiuspacheco.com/result-dataerror-wrapper-in-dart-for-flutter?utm_source=hashnode&utm_medium=feed)

A very common way of handling responses that either return data or error in Swift is using a Result<S> enum object, or Data Classes in Kotlin. This type of data control is especially nice for data source requests, such as network, DB, etc, where it...

Mar 20, 2021 · 4 min read · cassiuspacheco.com  
Updated Dec 16, 2021  
Read the article

-   [#dart](https://hashnode.com/tag/dart)
-   [#flutter](https://hashnode.com/tag/flutter)

## Written by

[Cassius Pacheco](https://hashnode.com/@cassiuspacheco)

@cassiuspacheco · Sydney, Australia

  
[View profile](https://hashnode.com/@cassiuspacheco)

Brazilian Software Engineer living in Australia 🇧🇷 🇦🇺 | Dart | Flutter | Swift | iOS

My life changed in 2011 when I fell in love with iPhone and started working as an iOS Developer. I'm passionate about clean and effective code, code review, organisation, agile work, sharing knowledge and experiences, but above all I'm passionate about building awesome products.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
