EntityPropertyDetails.fromJson constructor

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

Implementation

factory EntityPropertyDetails.fromJson(Map<String, Object?> json) {
  return EntityPropertyDetails(
    entityId: json[r'entityId'] as num? ?? 0,
    key: json[r'key'] as String? ?? '',
    value: json[r'value'] as String? ?? '',
  );
}