User constructor

User(
  1. Map<String, dynamic> params
)

constructor

Implementation

User(Map<String, dynamic> params)
    : _id = params.get<int>('id')!,
      // ignore: deprecated_member_use_from_same_package
      _email = params.get<String?>('email') ?? '',
      _thumbnailImage = params.get<String?>('profile_image_url_https') ?? '',
      _name = params.get<String?>('name') ?? '',
      _screenName = params.get<String?>('screen_name') ?? '';