ProfileInformation.fromJson constructor

ProfileInformation.fromJson(
  1. Map<String, Object?> json
)

Implementation

ProfileInformation.fromJson(Map<String, Object?> json)
    : avatarUrl = ((v) =>
          v != null ? Uri.parse(v as String) : null)(json['avatar_url']),
      displayname =
          ((v) => v != null ? v as String : null)(json['displayname']);