CompositingReasonsResult.fromJson constructor

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

Implementation

factory CompositingReasonsResult.fromJson(Map<String, dynamic> json) {
  return CompositingReasonsResult(
    compositingReasons:
        (json['compositingReasons'] as List).map((e) => e as String).toList(),
    compositingReasonIds: (json['compositingReasonIds'] as List)
        .map((e) => e as String)
        .toList(),
  );
}