populate method

Future<Redditor> populate()

Promotes this RedditorRef into a populated Redditor.

Implementation

Future<Redditor> populate() async =>
    ((await _throwOnInvalidRedditor(() async =>
            Redditor.parse(reddit, (await fetch()) as Map<dynamic, dynamic>)))
        as Redditor?)!;