VKUserProfile.fromMap constructor

VKUserProfile.fromMap(
  1. Map<String, dynamic> map
)

Implementation

VKUserProfile.fromMap(Map<String, dynamic> map)
    : userId = map['userId'] as int,
      firstName = map['firstName'] as String,
      lastName = map['lastName'] as String,
      online = map['online'] as bool?,
      onlineMobile = map['onlineMobile'] as bool?,
      photo50 = map['photo50'] as String?,
      photo100 = map['photo100'] as String?,
      photo200 = map['photo200'] as String?;