ImagePermissions.fromJson constructor

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

Implementation

factory ImagePermissions.fromJson(Map<String, dynamic> json) {
  return ImagePermissions(
    allowFleet: json['allowFleet'] as bool?,
    allowImageBuilder: json['allowImageBuilder'] as bool?,
  );
}