PartialSuccessBeanEntriesItem.fromJson constructor

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

Implementation

factory PartialSuccessBeanEntriesItem.fromJson(Map<String, Object?> json) {
  return PartialSuccessBeanEntriesItem(
    issueId: (json[r'issueId'] as num?)?.toInt(),
    issueKey: json[r'issueKey'] as String?,
    status: (json[r'status'] as num?)?.toInt(),
    errors: (json[r'errors'] as List<Object?>?)
            ?.map((i) => i as String? ?? '')
            .toList() ??
        [],
  );
}