DriveReplyList.fromMap constructor

DriveReplyList.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory DriveReplyList.fromMap(Map<String, dynamic> map) {
  return DriveReplyList(
    category: map['category'],
    replies: map['replies'] == null
        ? <DriveReply>[]
        : List<DriveReply>.from(
            map['replies']?.map(
              (dynamic x) => DriveReply.fromMap(x),
            ),
          ),
    nextCursor: map['nextCursor'],
  );
}