Error.fromMap constructor

Error.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory Error.fromMap(Map<String, dynamic> map) {
  return Error(
    source: map['source'] ?? "",
    message: map['message'] ?? "",
    trace: map['trace'] ?? "",
  );
}