OutputGroupDetail.fromJson constructor

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

Implementation

factory OutputGroupDetail.fromJson(Map<String, dynamic> json) {
  return OutputGroupDetail(
    outputDetails: (json['outputDetails'] as List?)
        ?.whereNotNull()
        .map((e) => OutputDetail.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}