fromJson static method

Contact fromJson(
  1. dynamic json
)

Implementation

static Contact fromJson(dynamic json) {
  return Contact(
      uid: json['uid'],
      username: json['username'],
      nickname: json['nickname'],
      avatar: json['avatar'],
      description: json['description']);
}