UIProgressBar.fromJson constructor
Implementation
factory UIProgressBar.fromJson(Map<String, dynamic> json) => UIProgressBar(
elementId: (json['ElementId'] as num?)?.toInt() ?? 0,
labels: (json['Labels'] as List<dynamic>?)?.map((e) => (e as String?) ?? '').toList() ?? const [],
styleId: (json['StyleId'] as String?) ?? '',
percentage: (json['Percentage'] as num?)?.toDouble() ?? 0.0,
);