Lens.fromJson constructor

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

Implementation

Lens.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  name = json['name'];
  facePreference = json['facePreference'];
  groupId = json['groupId'];
  snapCodes = json['snapcodes'].cast<String>();
  previews = json['previews'].cast<String>();
  thumbnail = json['thumbnail'].cast<String>();
}