StringList.fromJson constructor

StringList.fromJson(
  1. Map _json
)

Implementation

StringList.fromJson(core.Map _json)
    : this(
        elements: _json.containsKey('elements')
            ? (_json['elements'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );