Avatar constructor

Avatar({
  1. String? fileName,
  2. required String id,
  3. bool? isDeletable,
  4. bool? isSelected,
  5. bool? isSystemAvatar,
  6. String? owner,
  7. Map<String, dynamic>? urls,
})

Implementation

Avatar(
    {this.fileName,
    required this.id,
    bool? isDeletable,
    bool? isSelected,
    bool? isSystemAvatar,
    this.owner,
    this.urls})
    : isDeletable = isDeletable ?? false,
      isSelected = isSelected ?? false,
      isSystemAvatar = isSystemAvatar ?? false;