FriendList constructor

FriendList({
  1. Iterable<Friend>? friends,
  2. String? cursor,
})

Implementation

factory FriendList({
  $core.Iterable<Friend>? friends,
  $core.String? cursor,
}) {
  final _result = create();
  if (friends != null) {
    _result.friends.addAll(friends);
  }
  if (cursor != null) {
    _result.cursor = cursor;
  }
  return _result;
}