ExceptionOptions.fromMap constructor

ExceptionOptions.fromMap(
  1. Map<String, Object?> obj
)

Implementation

ExceptionOptions.fromMap(Map<String, Object?> obj)
    : breakMode = obj['breakMode'] as ExceptionBreakMode,
      path = (obj['path'] as List?)
          ?.map((item) =>
              ExceptionPathSegment.fromJson(item as Map<String, Object?>))
          .toList();