ContactFolder.fromJson constructor

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

Creates a new instance of ContactFolder from a JSON object.

Implementation

factory ContactFolder.fromJson(Map<String, dynamic> json) {
  return ContactFolder(
    displayName: json['displayName'],
    id: json['id'],
    parentFolderId: json['parentFolderId'],
  );
}