TweetVM.fromApiV2Model constructor

TweetVM.fromApiV2Model(
  1. TweetV2Response tweetResponse,
  2. DateFormat? createdDateDisplayFormat
)

Implementation

factory TweetVM.fromApiV2Model(
  TweetV2Response tweetResponse,
  DateFormat? createdDateDisplayFormat,
) =>
    TweetV2ToTweetVMConverter(tweetResponse)
        .convert(createdDateDisplayFormat);