GenericDocumentType.fromJson constructor

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

Implementation

factory GenericDocumentType.fromJson(Map<String, dynamic> json) =>
    GenericDocumentType(
      name: json["name"] as String,
      fullName: json["fullName"] as String,
      normalizedName: json["normalizedName"] as String,
      listIndex: json.containsKey("listIndex")
          ? (json["listIndex"] != null ? (json["listIndex"] as int) : null)
          : null,
    );