// To parse this JSON data, do
//
//     final faceRegistrationInfoRespon = faceRegistrationInfoResponFromJson(jsonString);

import 'dart:convert';

FaceRegistrationInfoRespon faceRegistrationInfoResponFromJson(String str) => FaceRegistrationInfoRespon.fromJson(json.decode(str));

String faceRegistrationInfoResponToJson(FaceRegistrationInfoRespon data) => json.encode(data.toJson());

class FaceRegistrationInfoRespon {
  FaceRegistrationInfoRespon({
    this.success,
    this.message,
    this.data,
  });

  bool? success;
  String? message;
  List<DataFaceRegistrationInfo>? data;

  factory FaceRegistrationInfoRespon.fromJson(Map<String, dynamic> json) => FaceRegistrationInfoRespon(
    success: json["success"] == null ? null : json["success"],
    message: json["message"] == null ? null : json["message"],
    data: json["data"] == null ? null : List<DataFaceRegistrationInfo>.from(json["data"].map((x) => DataFaceRegistrationInfo.fromJson(x))),
  );

  Map<String, dynamic> toJson() => {
    "success": success == null ? null : success,
    "message": message == null ? null : message,
    "data": data == null ? null : List<dynamic>.from(data!.map((x) => x.toJson())),
  };
}

class DataFaceRegistrationInfo {
  DataFaceRegistrationInfo({
    this.index,
    this.isi,
  });

  String? index;
  String? isi;

  factory DataFaceRegistrationInfo.fromJson(Map<String, dynamic> json) => DataFaceRegistrationInfo(
    index: json["index"] == null ? null : json["index"],
    isi: json["isi"] == null ? null : json["isi"],
  );

  Map<String, dynamic> toJson() => {
    "index": index == null ? null : index,
    "isi": isi == null ? null : isi,
  };
}
