VariablePresentationHint.fromMap constructor

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

Implementation

VariablePresentationHint.fromMap(Map<String, Object?> obj)
    : attributes = (obj['attributes'] as List?)
          ?.map((item) => item as String)
          .toList(),
      kind = obj['kind'] as String?,
      lazy = obj['lazy'] as bool?,
      visibility = obj['visibility'] as String?;