UserInfoPublic.fromJson constructor

UserInfoPublic.fromJson(
  1. Map<String, dynamic> jsonSerialization
)

Implementation

factory UserInfoPublic.fromJson(Map<String, dynamic> jsonSerialization) {
  return UserInfoPublic(
    id: jsonSerialization['id'] as int?,
    userName: jsonSerialization['userName'] as String?,
    fullName: jsonSerialization['fullName'] as String?,
    created: _i1.DateTimeJsonExtension.fromJson(jsonSerialization['created']),
    imageUrl: jsonSerialization['imageUrl'] as String?,
  );
}