$Req.fromJson constructor

$Req.fromJson(
  1. Map json_
)

Implementation

$Req.fromJson(core.Map json_)
    : this(
        names: json_.containsKey('names')
            ? (json_['names'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );