mirrored_repositories/strada-flutter/src/lib/resource/Retrofit
import 'package:src/resource/Retrofit/Model/ServerError.dart';

class BaseModel<T> {
  ServerError _error;
  T data;

  setException(ServerError error) {
    _error = error;
  }

  setData(T data) {
    this.data = data;
  }

  get getException {
    return _error;
  }
}