UserSummary.fromJson constructor

UserSummary.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory UserSummary.fromJson(Map<String, dynamic> json) {
  return UserSummary(
    pendingChange: (json['pendingChange'] as String?)?.toChangeType(),
    username: json['username'] as String?,
  );
}