JqlQueryFieldEntityProperty.fromJson constructor

JqlQueryFieldEntityProperty.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory JqlQueryFieldEntityProperty.fromJson(Map<String, Object?> json) {
  return JqlQueryFieldEntityProperty(
    entity: json[r'entity'] as String? ?? '',
    key: json[r'key'] as String? ?? '',
    path: json[r'path'] as String? ?? '',
    type: json[r'type'] != null
        ? JqlQueryFieldEntityPropertyType.fromValue(json[r'type']! as String)
        : null,
  );
}