PartialSuccessBean.fromJson constructor

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

Implementation

factory PartialSuccessBean.fromJson(Map<String, Object?> json) {
  return PartialSuccessBean(
    entries: (json[r'entries'] as List<Object?>?)
            ?.map((i) => PartialSuccessBeanEntriesItem.fromJson(
                i as Map<String, Object?>? ?? const {}))
            .toList() ??
        [],
  );
}