UsersListResponse.fromJson constructor

UsersListResponse.fromJson(
  1. Map json_
)

Implementation

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