UserList.fromJson constructor

UserList.fromJson(
  1. Map json_
)

Implementation

UserList.fromJson(core.Map json_)
    : this(
        values: json_.containsKey('values')
            ? (json_['values'] as core.List)
                .map((value) => SingleUser.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );