Module.fromMap constructor

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

Implementation

Module.fromMap(Map<String, Object?> obj)
    : addressRange = obj['addressRange'] as String?,
      dateTimeStamp = obj['dateTimeStamp'] as String?,
      id = obj['id'] is int
          ? Either2<int, String>.t1(obj['id'] as int)
          : Either2<int, String>.t2(obj['id'] as String),
      isOptimized = obj['isOptimized'] as bool?,
      isUserCode = obj['isUserCode'] as bool?,
      name = obj['name'] as String,
      path = obj['path'] as String?,
      symbolFilePath = obj['symbolFilePath'] as String?,
      symbolStatus = obj['symbolStatus'] as String?,
      version = obj['version'] as String?;