DataBreakpointInfoResponseBody.fromMap constructor

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

Implementation

DataBreakpointInfoResponseBody.fromMap(Map<String, Object?> obj)
    : accessTypes = (obj['accessTypes'] as List?)
          ?.map((item) => item as DataBreakpointAccessType)
          .toList(),
      canPersist = obj['canPersist'] as bool?,
      dataId = obj['dataId'] is String
          ? Either2<String, Null>.t1(obj['dataId'] as String)
          : Either2<String, Null>.t2(obj['dataId'] as Null),
      description = obj['description'] as String;