OpsEntityItem.fromJson constructor

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

Implementation

factory OpsEntityItem.fromJson(Map<String, dynamic> json) {
  return OpsEntityItem(
    captureTime: json['CaptureTime'] as String?,
    content: (json['Content'] as List?)
        ?.whereNotNull()
        .map((e) => (e as Map<String, dynamic>)
            .map((k, e) => MapEntry(k, e as String)))
        .toList(),
  );
}