SatelliteException.fromMap constructor

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

Implementation

factory SatelliteException.fromMap(Map<String, dynamic> map) {
  return SatelliteException(
    SatelliteErrorCode.values[map['code'] as int],
    map['message'] as String?,
  );
}