JqlQueryField.fromJson constructor

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

Implementation

factory JqlQueryField.fromJson(Map<String, Object?> json) {
  return JqlQueryField(
    encodedName: json[r'encodedName'] as String?,
    name: json[r'name'] as String? ?? '',
    property: (json[r'property'] as List<Object?>?)
            ?.map((i) => JqlQueryFieldEntityProperty.fromJson(
                i as Map<String, Object?>? ?? const {}))
            .toList() ??
        [],
  );
}