BulkEditActionError.fromJson constructor

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

Implementation

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