BreakpointMode.fromMap constructor

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

Implementation

BreakpointMode.fromMap(Map<String, Object?> obj)
    : appliesTo = (obj['appliesTo'] as List)
          .map((item) => item as BreakpointModeApplicability)
          .toList(),
      description = obj['description'] as String?,
      label = obj['label'] as String,
      mode = obj['mode'] as String;